<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{yhdkList.bundleName}"/>
    <head>
        <title>#{text['yhdkList.title']}</title>
        <meta name="heading" content="#{text['yhdkList.heading']}"/>
        <meta name="menu" content="YhdkMenu"/>
    </head>
<body id="yhdkList">
<h:form id="editYhdk">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>

<t:dataTable id="yhdks" var="yhdk" style="margin-top: 10px"
    value="#{yhdkList.yhdks}" rows="25" sortColumn="#{yhdkList.sortColumn}"
    sortAscending="#{yhdkList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">

    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jbh" arrow="true">
                <h:outputText value="#{text['yhdk.jbh']}" />
            </t:commandSortHeader>
        </f:facet>
         <h:commandLink action="#{yhdkForm.edit}" value="#{yhdk.jbh}">
            <f:param name="yhdkid" value="#{yhdk.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
     <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="je" arrow="true">
                <h:outputText value="#{text['yhdk.je']}" />
            </t:commandSortHeader>
        </f:facet>
          <h:commandLink action="#{yhdkForm.edit}" value="#{yhdk.je}">
            <f:param name="yhdkid" value="#{yhdk.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <!-- 
       <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="id" arrow="true">
                <h:outputText value="#{text['yhdk.id']}" />
            </t:commandSortHeader>
        </f:facet>
       
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="dbdw" arrow="true">
                <h:outputText value="#{text['yhdk.dbdw']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.dbdw}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="dbfs" arrow="true">
                <h:outputText value="#{text['yhdk.dbfs']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.dbfs}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="dbw" arrow="true">
                <h:outputText value="#{text['yhdk.dbw']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.dbw}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="fdbdw" arrow="true">
                <h:outputText value="#{text['yhdk.fdbdw']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.fdbdw}" escape="true"/>
    </t:column>
    
     
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jbqk" arrow="true">
                <h:outputText value="#{text['yhdk.jbqk']}" />
            </t:commandSortHeader>
        </f:facet>
    </t:column>
    
   
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['yhdk.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['yhdk.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.optdate}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="pgjz" arrow="true">
                <h:outputText value="#{text['yhdk.pgjz']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.pgjz}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="qzrq" arrow="true">
                <h:outputText value="#{text['yhdk.qzrq']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.qzrq}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['yhdk.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['yhdk.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.version}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="xh" arrow="true">
                <h:outputText value="#{text['yhdk.xh']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.xh}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="zmjz" arrow="true">
                <h:outputText value="#{text['yhdk.zmjz']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhdk.zmjz}" escape="true"/>
    </t:column>
    -->
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="yhdks"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editYhdk:yhdks");
</script>

</h:form>
</body>
</f:view>
</html> 